<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
    <style>
        body{
            text-align: center;
        }
    </style>
</head>
<body>

<form action="{:url('write')}" method="post" enctype="multipart/form-data">
    <div class="form-group">
        <div class="col-sm-8">
            <input type="file" name="image" />
            <input type="submit" value="上传" />
        </div>
    </div>
</form>
</body>
</html>